<% if(isCurrentActive == false){%>
	<div class="ui-body ui-body-b">
<% }else{%>
	<div class="ui-body ui-body-b">
<% }%>

	<h1><%= name %></h1>
	<p>
		<%= venue %>
	</p>
	</p>
		<%= date %>
	</p>
	<p>
		<% if(isCurrentActive == false){%>
			<a href="#races/toggleActive/<%= id %>" data-mini="true" data-inline="false" data-role="button" data-icon="forward">mark as active?</a>
		<% }else{%>
			<a href="#races/toggleActive/<%= id %>" data-mini="true" data-inline="false" data-role="button" data-icon="forward">mark as inactive?</a>
		<% }%>
	</p>
	<div data-role="collapsible"  data-theme="b" data-content-theme="d">
		<h3>Notes</h3>
		<p><%= note %></p>
	</div>

	<div data-role="collapsible" data-theme="b" data-content-theme="d">
		<h3>Edit</h3>
		<p> 
			<a href="#races/change/<%= id %>" data-mini="true" data-role="button" data-inline="false" data-icon="edit">change</a>
			<a href="#races/remove/<%= id %>" data-mini="true" data-role="button" data-inline="false" data-icon="delete">remove</a>
		</p>
	</div>
</div>